// 店铺管理模块
import request from "@/utils/request.js";  //引入增强过后的axios

// 店铺详情
export const shopInfo = function (params) {
    return request({
        method: 'get',
        url: '/shop/info',
        params,
    });
}

// 店铺内容修改
export const shopEdit = function (data) {
    return request({
        method: 'post',
        url: '/shop/edit',
        data,
    });
}

// 店铺图片上传
export const shopUpload = function (data) {
    return request({
        method: 'post',
        url: '/shop/upload',
        data,
    });
}